package com.xjh.him.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.xjh.tool.BaseDO;

@Data
@TableName("friend_apply")
public class FriendApplyDO extends BaseDO {
    public static final String STATE_APPLY = "apply";
    public static final String STATE_ACCEPT = "accept";
    public static final String STATE_REJECT = "reject";

    @TableId(value = "id", type = IdType.AUTO)
    private Long	id;

    /**
     * <pre>
     * 申请用户id
     * </pre>
     */
    private Long	applyUserId;

    private String applyUserNickname;

    private String applyUserAvatar;


    /**
     * <pre>
     * 被申请用户id
     * </pre>
     */
    private Long	appliedUserId;

    /**
     * 被申请用户昵称
     */
    private String  appliedUserNickname;

    /**
     * 被申请用户头像
     */
    private String  appliedUserAvatar;

    /**
     * <pre>
     * 状态，申请-apply，同意-accept，拒绝-reject
     * </pre>
     */
    private String	state;

    /**
     * <pre>
     * 申请好友备注信息
     * </pre>
     */
    private String	applyInfo;

    private String createTime;

    private String	updateTime;
}
